<%@page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>

<%
String basePath = request.getContextPath();
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>批量修改无税单价</title>
		<script language="javascript" type="text/javascript" src="<%=basePath%>/js/validatorTool.js"></script>
	    <script language="javascript" type="text/javascript" src="<%=basePath%>/js/utilTool.js"></script>
		
		<script language="javascript" type="text/javascript"> 
			function confirmMd(){			   
				
				var val = document.getElementById("tfprice").value;
				var bool = isNum(val);
			    if(bool == false){
			    	alert("您输入的无税单价不合法!");
			    	document.getElementById("tfprice").value="0.00";
			    	return;
			    }
			    
				var tl_price_s = parent.document.getElementsByName("taxless_price");
				
				if(tl_price_s != null){
					for(var i=0; i<tl_price_s.length; i++){
						tl_price_s(i).value=val;				
					}				
				}
				parent.hideMe();
			}
			
			function cancelMd(){
				parent.hideMe();
			}			 
		</script>
	</head>
	<body>
		<div style="ovoverflow-y:scroll;width:100%;height:100%">			
			<table  border="0" cellspacing="0" class="subpage_table1 withborder2">
				<tr>
					<td width="50"  align="center">无税单价</td>
					<td width="50"  align="center"><input type="text" id="tfprice" name= "tfprice" value="0.00" onkeypress="javascript:keyPress(this);"></td>				
				</tr>			
			</table>			
			<p></p>
			<div align="center">
				<input type="button" class="buttonok" value="确定"  onclick="javascript:confirmMd();"/>
					&nbsp;&nbsp;&nbsp;&nbsp;
				<input type="button" class="buttoncan" value="取消" onclick="javascript:cancelMd();"/>
			</div>
		</div>
	</body>
</html>

